#!/usr/bin/python
# -*- coding: UTF-8 -*-

""" 
@version: 1.0
@author: jin.li.o
@license: Apache Licence 
@contact: x.leevin@gmail.com
@software: PyCharm
@file: clazz_i_01.py
@time: 2018/9/30
"""

index = 0
sum = 0

while index < 3:
    input_sex = input("请输入队员的性别<男:m 女:f>:")
    input_age = input("请输入队员的年龄:")

    age = int(input_age)
    if input_sex == "f" and 12 >= age >= 10:
        sum += 1

    index += 1

print("可参加人数为{0}".format(sum))
